//生成相关请求
import request from "../utils/http.ts"

//1.生成初步代码
export const generateCodeAPI = (data: { tableClassList: any[], pathName: string }) =>
    request({
        url: `generate/generateCode?pathName=${encodeURIComponent(data.pathName)}`,
        method: "post",
        data: data.tableClassList
    });
